<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>背景练习</title>
    <link rel="stylesheet" href="../css/reset.css">
    <style type="text/css">
        .box1{
            width:1236px;
            height:40px;
            margin:0 auto;
            /* background-image: url("./picture/2bg.png");
            background-repeat: repeat-x; */
            /*简写属性*/
            background:url("./picture/2bg.png") repeat-x ;
        }

    </style>
    <script type="text/javascript">

    </script>
</head>
<body>
    <div class="box1"></div>

    
</body>
</html>